/*
 * experimentrunningui.h 实验运行页面
 */
#ifndef EXPERIMENTRUNNINGUI_H
#define EXPERIMENTRUNNINGUI_H

#include <QObject>
#include <QQmlEngine>
#include <QQuickWidget>

class ExperimentRunningUI : public QQuickWidget
{
    Q_OBJECT
    QML_ELEMENT

signals:
    void nextPage(); // 切换到下一页
    void prevPage(); // 切换到上一页

public:
    ExperimentRunningUI();
    ~ExperimentRunningUI();

public:
    QQmlContext* getContext() const; // 获取qmlcontext
    QObject* getRootObject() const; // 获取rootObject

private:
    QObject *rootObj;
};

#endif // EXPERIMENTRUNNINGUI_H
